package com.wjv.example.springboot.base.config.autoconfig;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>Title: MyConfig2</p>
 *
 * @author wjv
 * @since 2021/8/25 10:20
 */
@Configuration
public class MyConfig2 {

    @Autowired
    private MyConfigProperty myConfigProperty;


    @Bean
    public MyConfigManager2 myConfigManager2() {
        return new MyConfigManager2(myConfigProperty);
    }
}
